﻿/*工具自动生成代码请勿修改
 创建时间2020:01:10:11:33:40*/
using System;
namespace GameCFG
{
	public class Item:CfgBase
	{
		private Int16 m_index;
		public Int16 index{ get { return m_index; } }
		private string m_name;
		public string name{ get { return m_name; } }
		private float m_pre;
		public float pre{ get { return m_pre; } }
		private Int64 m_test1;
		public Int64 test1{ get { return m_test1; } }
		private Int32 m_test2;
		public Int32 test2{ get { return m_test2; } }
		public override void DeSerialize(byte[] bytes)
		{
			ByteBuffer buff = new ByteBuffer(bytes);
			m_index = buff.ReadInt16();
			m_name = buff.ReadString();
			m_pre = buff.ReadFloat();
			m_test1 = buff.ReadInt64();
			m_test2 = buff.ReadInt32();
		}

	}
}
